﻿namespace OpenReflect.Domain.Model.CodeStructure
{
	public class UnaryExpression : Expression
	{
		public UnaryExpression(Expression operand, UnaryOperator op) : base(ExpressionType.UnaryExpression)
		{
			Operand = operand;
			Operator = op;
		}

		public UnaryOperator Operator { get; private set; }
		public Expression Operand { get; private set; }
	}
}